package com.oranger.login.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/login")
@Tag(name = "登录接口", description = "用于几种登录方式")
public class LoginController {

    // 测试连通性接口
    @GetMapping("/test")
    public String getSuccess(){
        return "success";
    }
}
